﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SPMS.Common;


namespace SPMS.Web.Models
{
    [ModelBinder(typeof(ExtendedModelBinder))]
    public class ActiveOperations
    {
        /// <summary>
        /// 操作id
        /// </summary>
        /// <value>
        /// 操作id
        /// </value>
        public Guid Operation_ID { get; set; }
        /// <summary>
        /// 操作编码
        /// </summary>
        /// <value>
        /// 操作编码
        /// </value>
        public string Operation_Code { get; set; }
        /// <summary>
        /// 操作类型ID
        /// </summary>
        /// <value>
        /// 操作类型ID
        /// </value>
        public Guid OperationType_ID { get; set; }
        /// <summary>
        /// 账号id
        /// </summary>
        /// <value>
        /// 账号id
        /// </value>
        public Guid Account_ID { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        /// <value>
        /// 状态
        /// </value>
        public int Status { get; set; }
        /// <summary>
        /// Saler_ID
        /// </summary>
        /// <value>
        /// Saler_ID
        /// </value>
        public Guid Saler_ID { get; set; }

        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 企业合法人
        /// </summary>
        /// <value>
        /// 企业合法人
        /// </value>
        public string ContactPerson { get; set; }

        /// <summary>
        /// 获得或者设置是否发短信。
        /// </summary>
        /// <value>
        /// 是否发信息。
        /// </value>
        public bool IsSendInfo1
        {
            get;
            set;
        }
        /// <summary>
        /// 获得或者设置是否发短信。
        /// </summary>
        /// <value>
        /// 是否发信息。
        /// </value>
        public bool IsSendInfo2
        {
            get;
            set;
        }
        /// <summary>
        /// 获得或者设置是否发短信。
        /// </summary>
        /// <value>
        /// 是否发信息。
        /// </value>
        public bool IsSendInfo3
        {
            get;
            set;
        }
        /// <summary>
        /// 客户电话1
        /// </summary>
        /// <value>
        /// 客户电话1
        /// </value>
        public string ContactNumber1 { get; set; }
        /// <summary>
        /// 客户电话2
        /// </summary>
        /// <value>
        /// 客户电话2
        /// </value>
        public string ContactNumber2 { get; set; }
        /// <summary>
        /// 客户电话3
        /// </summary>
        /// <value>
        /// 客户电话3
        /// </value>
        public string ContactNumber3 { get; set; }

        /// <summary>
        /// 客户邮箱
        /// </summary>
        /// <value>
        /// 客户邮箱
        /// </value>
        public string ContactEmail { get; set; }

        /// <summary>
        /// 注册地址
        /// </summary>
        public string RegAddress { get; set; }
        /// <summary>
        /// 营业执照编号
        /// </summary>
        public string YeZhiCode { get; set; }

        /// <summary>
        /// 组织机构代码
        /// </summary>
        public string OrgCode { get; set; }

        /// <summary>
        /// 税务登记证编码
        /// </summary>
        public string ShiWCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }

        /// <summary>
        /// 必要文件列表
        /// </summary>
        [JsonBinder]
        public ActiveOperationFiles[] FileFirstList { get; set; }

        /// <summary>
        /// 辅助文件列表
        /// </summary>
       [JsonBinder]
        public ActiveOperationFiles[] FileSecondList { get; set; }

      
      

    }
}